{namespace rb.auth.templates}


/**
 * Creates a Register User dialog box.
 *
 * @param defaultName What to use as a placeholder.
 */
{template .register}
<div class="{css auth-register}">
  <div class="{css auth-register-mask}"></div>
  <div class="{css auth-register-dialog}">
    <h3>Welcome!</h3>
    
    <hr />
    
    <p>Enter the name you would like others to see:</p>
    
    <form name="rb-auth-register" id="rb-auth-register">
      <input name="display-name" type="text" maxlength="15" size="23" value="{$defaultName}"> 
      <input name="check-unique" type="button" value="Check Uniqueness"> 
      <input name="be-anonymous" type="submit" value="Be Anonymous"> 
      <input name="register" type="submit" value="Register Name">
    </form>
    
    <p class="{css auth-register-dialog-note}">
      Display names do not need to be unique, but where's the fun in being like
      someone else?
    </p>
  </div>
</div>
{/template}
